package com.ddpyjqtd.delegate.company;

public class Boss {

	public static void main(String[] args) {

		// boss 直接给项目经理派活
		IEmployee employee = new Leader();

		// 项目经理收到上级命令后又将任务内容进行分发
		employee.doSomething("写代码");
		employee.doSomething("测试");
	}

}
